package com.seawaterbt.springbootshiro.service;

import com.baomidou.mybatisplus.service.IService;
import com.seawaterbt.springbootshiro.entity.Permission;
import com.seawaterbt.springbootshiro.entity.Role;
import com.seawaterbt.springbootshiro.entity.User;

import java.util.List;

@SuppressWarnings("all")
public interface UserService extends IService<User> {

    List<Role> selectAllRole(User user);

    List<Permission> selectAllPermissionByRid(Role role);

    List<Permission> selectAllPermissionByUid(User user);
}
